package com.jfl.exception;

import com.jfl.enums.HttpCode;

/**
 * 用户名或密码错误异常
 *  
 * @author  赵炎
 * @version  [V1.00, 2018年12月19日]
 * @since V1.00
 */
public class UserOrPasswordErrorException extends BaseException
{
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -8256070924864868463L;

    public UserOrPasswordErrorException()
    {
    }
    
    public UserOrPasswordErrorException(Throwable ex)
    {
        super(ex);
    }
    
    public UserOrPasswordErrorException(String message)
    {
        super(message);
    }
    
    public UserOrPasswordErrorException(String message, Throwable ex)
    {
        super(message, ex);
    }
    
    @Override
    protected HttpCode getCode()
    {
        return HttpCode.USERNAME_OR_PASSWORD_ERROR;
    }
    
}
